home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / set_next_reset < prev    next >
Text File  |  2001-04-06  |  965b  |  27 lines

  1. SYNOPSIS
  2.         int set_next_reset (int delay)
  3.  
  4. DESCRIPTION
  5.         Instruct the gamedriver to reset this object not earlier than
  6.         in <delay> seconds. If a negative value is given as delay, the object
  7.         will never reset (useful for blueprints). If 0 is given, the
  8.         object's reset time is not changed.
  9.  
  10.         Result is the former delay to the objects next reset (which can be
  11.         negative if the reset was overdue).
  12.  
  13.         Note that the actual time the reset occurs depends on when
  14.         the object will be used after the given time delay, and on the
  15.         granularity with which the driver checks for resettable objects
  16.         (typically every 3..5 minutes).
  17.  
  18. EXAMPLE
  19.         set_next_reset(15*60); // Next reset in 15 Minutes or later
  20.         set_next_reset(0)      --> just returns the time until the
  21.                                    next reset.
  22.  
  23. HISTORY
  24.         Introduced in LDMud 3.2.6, adapted from Morgengrauen.
  25.  
  26. SEE ALSO
  27.